//
//  LYVideoInfoManager.h
//  LYouSubscribeApp
//
//  Created by grx on 2018/12/17.
//  Copyright © 2018年 grx. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "LYouVideoInfo+CoreDataClass.h"
#import "LYouVideoModel.h"

NS_ASSUME_NONNULL_BEGIN

@interface LYVideoInfoManager : NSObject

+ (LYVideoInfoManager *)share;

/** 收藏视频到本地数据库 */
-(void)addVideoToLocalData:(LYouVideoModel *)videoModel;

/** 删除视频从本地数据库 */
-(void)deleteVideoToLocalData:(LYouVideoModel *)videoModel;

/** 查询本地所有数据 */
-(NSArray *)searchAllLocalVideoData;
/** 删除本地所有数据 */
-(void)cancleAllLocalShopData;

@end

NS_ASSUME_NONNULL_END
